package com.pureut.order.mapper;


import com.pureut.order.domain.SysCustomType;
import com.pureut.order.dto.SysCustomDto;
import com.pureut.order.vo.SysCustomVo;
import com.sale.common.mybatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * 客户类别 数据层
 *
 * @author 小贺
 */
@Mapper
public interface SysCustomMapper extends BaseMapperPlus<SysCustomMapper, SysCustomType, SysCustomType> {
    /**
     * 查询列表
     * @param sysCustomVo
     * @return
     */
    Page<SysCustomDto> selectSysCustom(@Param("page") Page<SysCustomVo> page, @Param("sysCustomVo") SysCustomVo sysCustomVo);


    /**
     * 新增
     * @param sysCustomVo
     * @return
     */
    int addSysCustom(SysCustomVo sysCustomVo);

}
